[INFO] cloning repository https://github.com/zhiwei-w-luo/near-rpc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhiwei-w-luo/near-rpc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhiwei-w-luo%2Fnear-rpc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhiwei-w-luo%2Fnear-rpc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 69837849f347a7d52fa1e5d804025766f17e9815
[INFO] building zhiwei-w-luo/near-rpc against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhiwei-w-luo%2Fnear-rpc" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/zhiwei-w-luo/near-rpc on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/zhiwei-w-luo/near-rpc
[INFO] finished tweaking git repo https://github.com/zhiwei-w-luo/near-rpc
[INFO] tweaked toml for git repo https://github.com/zhiwei-w-luo/near-rpc written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/zhiwei-w-luo/near-rpc already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-5/source/examples/status.rs
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 491fc109c0a564254293c2af7bf3395130e0c4cc912e6fbd0c7d1f5993501da8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "491fc109c0a564254293c2af7bf3395130e0c4cc912e6fbd0c7d1f5993501da8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "491fc109c0a564254293c2af7bf3395130e0c4cc912e6fbd0c7d1f5993501da8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "491fc109c0a564254293c2af7bf3395130e0c4cc912e6fbd0c7d1f5993501da8", kill_on_drop: false }`
[INFO] [stdout] 491fc109c0a564254293c2af7bf3395130e0c4cc912e6fbd0c7d1f5993501da8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] af6781018fa1edeb30647e92d9da2ab05269ea48348224cf3b491882c04731ac
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "af6781018fa1edeb30647e92d9da2ab05269ea48348224cf3b491882c04731ac", kill_on_drop: false }`
[INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/examples/status.rs
[INFO] [stderr]    Compiling proc-macro2 v1.0.9
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling itoa v0.4.5
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling futures-core v0.3.4
[INFO] [stderr]    Compiling arc-swap v0.4.5
[INFO] [stderr]    Compiling version_check v0.9.1
[INFO] [stderr]    Compiling smallvec v1.2.0
[INFO] [stderr]    Compiling pin-project-lite v0.1.4
[INFO] [stderr]    Compiling try-lock v0.2.2
[INFO] [stderr]    Compiling openssl v0.10.28
[INFO] [stderr]    Compiling ryu v1.0.3
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling native-tls v0.2.4
[INFO] [stderr]    Compiling futures-sink v0.3.4
[INFO] [stderr]    Compiling pin-utils v0.1.0-alpha.4
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling subtle v1.0.0
[INFO] [stderr]    Compiling zeroize v1.1.0
[INFO] [stderr]    Compiling encoding_rs v0.8.22
[INFO] [stderr]    Compiling tower-service v0.3.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling dtoa v0.4.5
[INFO] [stderr]    Compiling tiny-keccak v2.0.1
[INFO] [stderr]    Compiling arrayvec v0.5.1
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling slab v0.3.0
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling indexmap v1.3.2
[INFO] [stderr]    Compiling lock_api v0.3.3
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling futures-channel v0.3.4
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.12
[INFO] [stderr]    Compiling futures-util v0.3.4
[INFO] [stderr]    Compiling rlp v0.4.5
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling tokio-timer v0.1.2
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling signal-hook-registry v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.7.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling want v0.2.0
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling futures-cpupool v0.1.8
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling parking_lot v0.10.0
[INFO] [stderr]    Compiling stream-cipher v0.3.2
[INFO] [stderr]    Compiling crypto-mac v0.7.0
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling c2-chacha v0.2.3
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling curve25519-dalek v2.0.0
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling openssl-sys v0.9.54
[INFO] [stderr]    Compiling clear_on_drop v0.2.3
[INFO] [stderr]    Compiling parity-secp256k1 v0.7.0
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling hyper v0.12.35
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling blake2 v0.8.1
[INFO] [stderr]    Compiling sha2 v0.8.1
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling http v0.1.21
[INFO] [stderr]    Compiling tokio-buf v0.1.1
[INFO] [stderr]    Compiling string v0.2.1
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling ed25519-dalek v1.0.0-pre.3
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio-uds v0.2.6
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling tokio-core v0.1.17
[INFO] [stderr]    Compiling h2 v0.1.26
[INFO] [stderr]    Compiling http-body v0.1.0
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.6.1
[INFO] [stderr]    Compiling borsh-derive-internal v0.6.1
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.105
[INFO] [stderr]    Compiling pin-project-internal v0.4.9
[INFO] [stderr]    Compiling borsh-derive v0.6.1
[INFO] [stderr]    Compiling derive_more v0.99.3
[INFO] [stderr]    Compiling tokio v0.2.18
[INFO] [stderr]    Compiling borsh v0.6.1
[INFO] [stderr]    Compiling pin-project v0.4.9
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling tokio-tls v0.3.0
[INFO] [stderr]    Compiling h2 v0.2.4
[INFO] [stderr]    Compiling serde v1.0.105
[INFO] [stderr]    Compiling hyper v0.13.5
[INFO] [stderr]    Compiling serde_json v1.0.48
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling hyper-tls v0.4.1
[INFO] [stderr]    Compiling near-crypto v0.1.0 (/opt/rustwide/workdir/src/crypto)
[INFO] [stderr]    Compiling jsonrpc-core v14.0.5
[INFO] [stderr]    Compiling reqwest v0.10.4
[INFO] [stderr]    Compiling near_rpc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `MerkleHash`
[INFO] [stdout]  --> src/types/transaction.rs:7:47
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::types::{AccountId, Balance, Nonce, MerkleHash, MerklePath, CryptoHash, hash, AccessKey, logging, Gas, AccessKeyPermission};
[INFO] [stdout]   |                                               ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockIdOrFinality`, `BlockId`, `ChunkId`, `to_base64`
[INFO] [stdout]  --> src/api/rpc.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::types::{BlockId, ChunkId, BlockIdOrFinality, to_base64};
[INFO] [stdout]   |                    ^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/api/rpc.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let args = helpers::serialize(&params);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `to_hashes`
[INFO] [stdout]    --> src/types/transaction.rs:328:12
[INFO] [stdout]     |
[INFO] [stdout] 328 |     pub fn to_hashes(&self) -> Vec<CryptoHash> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `to_hashes`
[INFO] [stdout]    --> src/types/transaction.rs:367:12
[INFO] [stdout]     |
[INFO] [stdout] 367 |     pub fn to_hashes(&self) -> Vec<CryptoHash> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `id`
[INFO] [stdout]    --> src/types/transaction.rs:383:12
[INFO] [stdout]     |
[INFO] [stdout] 383 |     pub fn id(&self) -> &CryptoHash {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `verify_transaction_signature`
[INFO] [stdout]    --> src/types/transaction.rs:388:8
[INFO] [stdout]     |
[INFO] [stdout] 388 | pub fn verify_transaction_signature(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `pretty_result`
[INFO] [stdout]   --> src/types/logging.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn pretty_result(result: &Option<Vec<u8>>) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `pretty_results`
[INFO] [stdout]   --> src/types/logging.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn pretty_results(results: &[Option<Vec<u8>>]) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `from_base64`
[INFO] [stdout]   --> src/types/serialize.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn from_base64(s: &str) -> Result<Vec<u8>, Box<dyn std::error::Error>> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `from_base_buf`
[INFO] [stdout]   --> src/types/serialize.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn from_base_buf(s: &str, buffer: &mut Vec<u8>) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `serialize`
[INFO] [stdout]   --> src/types/serialize.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn serialize<T, S>(data: &T, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deserialize`
[INFO] [stdout]   --> src/types/serialize.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn deserialize<'de, T, D>(deserializer: D) -> Result<T, D::Error>
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `serialize`
[INFO] [stdout]   --> src/types/serialize.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn serialize<T, S>(data: &Option<T>, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deserialize`
[INFO] [stdout]   --> src/types/serialize.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn deserialize<'de, T, D>(deserializer: D) -> Result<Option<T>, D::Error>
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `serialize`
[INFO] [stdout]    --> src/types/serialize.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 |     pub fn serialize<T, S>(data: &Vec<T>, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deserialize`
[INFO] [stdout]    --> src/types/serialize.rs:149:12
[INFO] [stdout]     |
[INFO] [stdout] 149 |     pub fn deserialize<'de, T, D>(deserializer: D) -> Result<Vec<T>, D::Error>
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `serialize`
[INFO] [stdout]    --> src/types/serialize.rs:164:12
[INFO] [stdout]     |
[INFO] [stdout] 164 |     pub fn serialize<S, T>(data: T, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deserialize`
[INFO] [stdout]    --> src/types/serialize.rs:172:12
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub fn deserialize<'de, D, T>(deserializer: D) -> Result<T, D::Error>
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `serialize`
[INFO] [stdout]    --> src/types/serialize.rs:188:12
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn serialize<S>(data: &Option<Vec<u8>>, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deserialize`
[INFO] [stdout]    --> src/types/serialize.rs:199:12
[INFO] [stdout]     |
[INFO] [stdout] 199 |     pub fn deserialize<'de, D>(deserializer: D) -> Result<Option<Vec<u8>>, D::Error>
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `serialize`
[INFO] [stdout]    --> src/types/serialize.rs:218:12
[INFO] [stdout]     |
[INFO] [stdout] 218 |     pub fn serialize<S>(data: &[u8], serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deserialize`
[INFO] [stdout]    --> src/types/serialize.rs:225:12
[INFO] [stdout]     |
[INFO] [stdout] 225 |     pub fn deserialize<'de, D>(deserializer: D) -> Result<Vec<u8>, D::Error>
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `serialize`
[INFO] [stdout]    --> src/types/serialize.rs:238:12
[INFO] [stdout]     |
[INFO] [stdout] 238 |     pub fn serialize<S>(num: &u128, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deserialize`
[INFO] [stdout]    --> src/types/serialize.rs:245:12
[INFO] [stdout]     |
[INFO] [stdout] 245 |     pub fn deserialize<'de, D>(deserializer: D) -> Result<u128, D::Error>
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deserialize`
[INFO] [stdout]    --> src/types/serialize.rs:271:12
[INFO] [stdout]     |
[INFO] [stdout] 271 |     pub fn deserialize<'de, D>(deserializer: D) -> Result<u128, D::Error>
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `serialize`
[INFO] [stdout]    --> src/types/serialize.rs:286:12
[INFO] [stdout]     |
[INFO] [stdout] 286 |     pub fn serialize<S>(data: &Option<u128>, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deserialize`
[INFO] [stdout]    --> src/types/serialize.rs:297:12
[INFO] [stdout]     |
[INFO] [stdout] 297 |     pub fn deserialize<'de, D>(deserializer: D) -> Result<Option<u128>, D::Error>
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `combine_hash`
[INFO] [stdout]   --> src/types/merkle.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn combine_hash(hash1: MerkleHash, hash2: MerkleHash) -> MerkleHash {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `merklize`
[INFO] [stdout]   --> src/types/merkle.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn merklize<T: BorshSerialize>(arr: &[T]) -> (MerkleHash, Vec<MerklePath>) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `verify_path`
[INFO] [stdout]   --> src/types/merkle.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn verify_path<T: BorshSerialize>(root: MerkleHash, path: &MerklePath, item: &T) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a module
[INFO] [stdout]   --> src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub mod types;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | #![warn(missing_docs)]
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]   --> src/types/account.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn new(amount: Balance, code_hash: CryptoHash, storage_paid_at: BlockHeight) -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]   --> src/types/account.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn full_access() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a variant
[INFO] [stdout]   --> src/types/account.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     FunctionCall(FunctionCallPermission),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct
[INFO] [stdout]   --> src/types/hash.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct CryptoHash(pub Digest);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an enum
[INFO] [stdout]   --> src/types/near_types.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub enum BlockId {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a variant
[INFO] [stdout]   --> src/types/near_types.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     Height(BlockHeight),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a variant
[INFO] [stdout]   --> src/types/near_types.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Hash(CryptoHash),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an enum
[INFO] [stdout]   --> src/types/near_types.rs:49:1
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub enum ChunkId {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a variant
[INFO] [stdout]   --> src/types/near_types.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     BlockShardId(BlockId, ShardId),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a variant
[INFO] [stdout]   --> src/types/near_types.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     Hash(CryptoHash),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an enum
[INFO] [stdout]   --> src/types/near_types.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub enum BlockIdOrFinality {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a variant
[INFO] [stdout]   --> src/types/near_types.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     BlockId(BlockId),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a variant
[INFO] [stdout]   --> src/types/near_types.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     Finality(Finality),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]   --> src/types/near_types.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn latest() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct
[INFO] [stdout]   --> src/types/near_types.rs:68:1
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub struct RpcAutoSendConfig {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct field
[INFO] [stdout]   --> src/types/near_types.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub url: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct field
[INFO] [stdout]   --> src/types/near_types.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub key_path: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct field
[INFO] [stdout]   --> src/types/near_types.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub account: AccountId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct field
[INFO] [stdout]   --> src/types/near_types.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub start_nonce: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct field
[INFO] [stdout]   --> src/types/near_types.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     pub max_count: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct
[INFO] [stdout]   --> src/types/transaction.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Transaction {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]   --> src/types/transaction.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn sign(self, signer: &dyn Signer) -> SignedTransaction {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct
[INFO] [stdout]    --> src/types/transaction.rs:147:1
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub struct SignedTransaction {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct field
[INFO] [stdout]    --> src/types/transaction.rs:148:5
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pub transaction: Transaction,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct field
[INFO] [stdout]    --> src/types/transaction.rs:149:5
[INFO] [stdout]     |
[INFO] [stdout] 149 |     pub signature: Signature,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]    --> src/types/transaction.rs:155:5
[INFO] [stdout]     |
[INFO] [stdout] 155 |     pub fn new(signature: Signature, transaction: Transaction) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]    --> src/types/transaction.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pub fn init(&mut self) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]    --> src/types/transaction.rs:165:5
[INFO] [stdout]     |
[INFO] [stdout] 165 |     pub fn get_hash(&self) -> CryptoHash {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]    --> src/types/transaction.rs:169:5
[INFO] [stdout]     |
[INFO] [stdout] 169 | /     pub fn from_actions(
[INFO] [stdout] 170 | |         nonce: Nonce,
[INFO] [stdout] 171 | |         signer_id: AccountId,
[INFO] [stdout] 172 | |         receiver_id: AccountId,
[INFO] [stdout] ...   |
[INFO] [stdout] 184 | |         }.sign(signer)
[INFO] [stdout] 185 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]    --> src/types/transaction.rs:187:5
[INFO] [stdout]     |
[INFO] [stdout] 187 | /     pub fn send_money(
[INFO] [stdout] 188 | |         nonce: Nonce,
[INFO] [stdout] 189 | |         signer_id: AccountId,
[INFO] [stdout] 190 | |         receiver_id: AccountId,
[INFO] [stdout] ...   |
[INFO] [stdout] 202 | |         )
[INFO] [stdout] 203 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]    --> src/types/transaction.rs:205:5
[INFO] [stdout]     |
[INFO] [stdout] 205 | /     pub fn stake(
[INFO] [stdout] 206 | |         nonce: Nonce,
[INFO] [stdout] 207 | |         signer_id: AccountId,
[INFO] [stdout] 208 | |         signer: &dyn Signer,
[INFO] [stdout] ...   |
[INFO] [stdout] 220 | |         )
[INFO] [stdout] 221 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]    --> src/types/transaction.rs:223:5
[INFO] [stdout]     |
[INFO] [stdout] 223 | /     pub fn create_account(
[INFO] [stdout] 224 | |         nonce: Nonce,
[INFO] [stdout] 225 | |         originator: AccountId,
[INFO] [stdout] 226 | |         new_account_id: AccountId,
[INFO] [stdout] ...   |
[INFO] [stdout] 246 | |         )
[INFO] [stdout] 247 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]    --> src/types/transaction.rs:249:5
[INFO] [stdout]     |
[INFO] [stdout] 249 |     pub fn empty(block_hash: CryptoHash) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a function
[INFO] [stdout]   --> src/types/logging.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn pretty_hash(s: &str) -> String {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a function
[INFO] [stdout]  --> src/types/serialize.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn to_base<T: AsRef<[u8]>>(input: T) -> String {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a function
[INFO] [stdout]  --> src/types/serialize.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn from_base(s: &str) -> Result<Vec<u8>, Box<dyn std::error::Error>> {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a function
[INFO] [stdout]   --> src/types/serialize.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn to_base64<T: AsRef<[u8]>>(input: T) -> String {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a trait
[INFO] [stdout]   --> src/types/serialize.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub trait BaseDecode: for<'a> TryFrom<&'a [u8], Error = Box<dyn std::error::Error>> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]   --> src/types/serialize.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn from_base(s: &str) -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a type alias
[INFO] [stdout]   --> src/types/merkle.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type MerklePath = Vec<MerklePathItem>;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 72 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result as JsonResult`, `Value`, `to_value`
[INFO] [stdout]  --> examples/status.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::{to_value, Result as JsonResult, Value};
[INFO] [stdout]   |                  ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockId`, `ChunkId`, `CryptoHash`, `to_base64`
[INFO] [stdout]  --> examples/status.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use near_rpc::types::{BlockId, ChunkId, to_base64, CryptoHash};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]  --> examples/status.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borsh::BorshSerialize`
[INFO] [stdout]  --> examples/status.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use borsh::BorshSerialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 28s
[INFO] running `Command { std: "docker" "inspect" "af6781018fa1edeb30647e92d9da2ab05269ea48348224cf3b491882c04731ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af6781018fa1edeb30647e92d9da2ab05269ea48348224cf3b491882c04731ac", kill_on_drop: false }`
[INFO] [stdout] af6781018fa1edeb30647e92d9da2ab05269ea48348224cf3b491882c04731ac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b0f149b5f6c28f80c0c2e7267ed07dd9d1b2fcadcdda31676f08634db7b26911
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b0f149b5f6c28f80c0c2e7267ed07dd9d1b2fcadcdda31676f08634db7b26911", kill_on_drop: false }`
[INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/examples/status.rs
[INFO] [stdout] warning: unused import: `MerkleHash`
[INFO] [stdout]  --> src/types/transaction.rs:7:47
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::types::{AccountId, Balance, Nonce, MerkleHash, MerklePath, CryptoHash, hash, AccessKey, logging, Gas, AccessKeyPermission};
[INFO] [stdout]   |                                               ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockIdOrFinality`, `BlockId`, `ChunkId`, `to_base64`
[INFO] [stdout]  --> src/api/rpc.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::types::{BlockId, ChunkId, BlockIdOrFinality, to_base64};
[INFO] [stdout]   |                    ^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/api/rpc.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let args = helpers::serialize(&params);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `to_hashes`
[INFO] [stdout]    --> src/types/transaction.rs:328:12
[INFO] [stdout]     |
[INFO] [stdout] 328 |     pub fn to_hashes(&self) -> Vec<CryptoHash> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `to_hashes`
[INFO] [stdout]    --> src/types/transaction.rs:367:12
[INFO] [stdout]     |
[INFO] [stdout] 367 |     pub fn to_hashes(&self) -> Vec<CryptoHash> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `id`
[INFO] [stdout]    --> src/types/transaction.rs:383:12
[INFO] [stdout]     |
[INFO] [stdout] 383 |     pub fn id(&self) -> &CryptoHash {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `verify_transaction_signature`
[INFO] [stdout]    --> src/types/transaction.rs:388:8
[INFO] [stdout]     |
[INFO] [stdout] 388 | pub fn verify_transaction_signature(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `pretty_result`
[INFO] [stdout]   --> src/types/logging.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn pretty_result(result: &Option<Vec<u8>>) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `pretty_results`
[INFO] [stdout]   --> src/types/logging.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn pretty_results(results: &[Option<Vec<u8>>]) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `from_base64`
[INFO] [stdout]   --> src/types/serialize.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn from_base64(s: &str) -> Result<Vec<u8>, Box<dyn std::error::Error>> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `from_base_buf`
[INFO] [stdout]   --> src/types/serialize.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn from_base_buf(s: &str, buffer: &mut Vec<u8>) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `serialize`
[INFO] [stdout]   --> src/types/serialize.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn serialize<T, S>(data: &T, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deserialize`
[INFO] [stdout]   --> src/types/serialize.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn deserialize<'de, T, D>(deserializer: D) -> Result<T, D::Error>
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `serialize`
[INFO] [stdout]   --> src/types/serialize.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn serialize<T, S>(data: &Option<T>, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deserialize`
[INFO] [stdout]   --> src/types/serialize.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn deserialize<'de, T, D>(deserializer: D) -> Result<Option<T>, D::Error>
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `serialize`
[INFO] [stdout]    --> src/types/serialize.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 |     pub fn serialize<T, S>(data: &Vec<T>, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deserialize`
[INFO] [stdout]    --> src/types/serialize.rs:149:12
[INFO] [stdout]     |
[INFO] [stdout] 149 |     pub fn deserialize<'de, T, D>(deserializer: D) -> Result<Vec<T>, D::Error>
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `serialize`
[INFO] [stdout]    --> src/types/serialize.rs:164:12
[INFO] [stdout]     |
[INFO] [stdout] 164 |     pub fn serialize<S, T>(data: T, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deserialize`
[INFO] [stdout]    --> src/types/serialize.rs:172:12
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub fn deserialize<'de, D, T>(deserializer: D) -> Result<T, D::Error>
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `serialize`
[INFO] [stdout]    --> src/types/serialize.rs:188:12
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn serialize<S>(data: &Option<Vec<u8>>, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deserialize`
[INFO] [stdout]    --> src/types/serialize.rs:199:12
[INFO] [stdout]     |
[INFO] [stdout] 199 |     pub fn deserialize<'de, D>(deserializer: D) -> Result<Option<Vec<u8>>, D::Error>
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `serialize`
[INFO] [stdout]    --> src/types/serialize.rs:218:12
[INFO] [stdout]     |
[INFO] [stdout] 218 |     pub fn serialize<S>(data: &[u8], serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deserialize`
[INFO] [stdout]    --> src/types/serialize.rs:225:12
[INFO] [stdout]     |
[INFO] [stdout] 225 |     pub fn deserialize<'de, D>(deserializer: D) -> Result<Vec<u8>, D::Error>
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `serialize`
[INFO] [stdout]    --> src/types/serialize.rs:238:12
[INFO] [stdout]     |
[INFO] [stdout] 238 |     pub fn serialize<S>(num: &u128, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deserialize`
[INFO] [stdout]    --> src/types/serialize.rs:245:12
[INFO] [stdout]     |
[INFO] [stdout] 245 |     pub fn deserialize<'de, D>(deserializer: D) -> Result<u128, D::Error>
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deserialize`
[INFO] [stdout]    --> src/types/serialize.rs:271:12
[INFO] [stdout]     |
[INFO] [stdout] 271 |     pub fn deserialize<'de, D>(deserializer: D) -> Result<u128, D::Error>
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `serialize`
[INFO] [stdout]    --> src/types/serialize.rs:286:12
[INFO] [stdout]     |
[INFO] [stdout] 286 |     pub fn serialize<S>(data: &Option<u128>, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `deserialize`
[INFO] [stdout]    --> src/types/serialize.rs:297:12
[INFO] [stdout]     |
[INFO] [stdout] 297 |     pub fn deserialize<'de, D>(deserializer: D) -> Result<Option<u128>, D::Error>
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `combine_hash`
[INFO] [stdout]   --> src/types/merkle.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn combine_hash(hash1: MerkleHash, hash2: MerkleHash) -> MerkleHash {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `merklize`
[INFO] [stdout]   --> src/types/merkle.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn merklize<T: BorshSerialize>(arr: &[T]) -> (MerkleHash, Vec<MerklePath>) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `verify_path`
[INFO] [stdout]   --> src/types/merkle.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn verify_path<T: BorshSerialize>(root: MerkleHash, path: &MerklePath, item: &T) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a module
[INFO] [stdout]   --> src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub mod types;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | #![warn(missing_docs)]
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]   --> src/types/account.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn new(amount: Balance, code_hash: CryptoHash, storage_paid_at: BlockHeight) -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]   --> src/types/account.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn full_access() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a variant
[INFO] [stdout]   --> src/types/account.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     FunctionCall(FunctionCallPermission),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct
[INFO] [stdout]   --> src/types/hash.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct CryptoHash(pub Digest);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an enum
[INFO] [stdout]   --> src/types/near_types.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub enum BlockId {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a variant
[INFO] [stdout]   --> src/types/near_types.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     Height(BlockHeight),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a variant
[INFO] [stdout]   --> src/types/near_types.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Hash(CryptoHash),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an enum
[INFO] [stdout]   --> src/types/near_types.rs:49:1
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub enum ChunkId {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a variant
[INFO] [stdout]   --> src/types/near_types.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     BlockShardId(BlockId, ShardId),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a variant
[INFO] [stdout]   --> src/types/near_types.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     Hash(CryptoHash),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an enum
[INFO] [stdout]   --> src/types/near_types.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub enum BlockIdOrFinality {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a variant
[INFO] [stdout]   --> src/types/near_types.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     BlockId(BlockId),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a variant
[INFO] [stdout]   --> src/types/near_types.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     Finality(Finality),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]   --> src/types/near_types.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn latest() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct
[INFO] [stdout]   --> src/types/near_types.rs:68:1
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub struct RpcAutoSendConfig {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct field
[INFO] [stdout]   --> src/types/near_types.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub url: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct field
[INFO] [stdout]   --> src/types/near_types.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub key_path: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct field
[INFO] [stdout]   --> src/types/near_types.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub account: AccountId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct field
[INFO] [stdout]   --> src/types/near_types.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub start_nonce: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct field
[INFO] [stdout]   --> src/types/near_types.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     pub max_count: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct
[INFO] [stdout]   --> src/types/transaction.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Transaction {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]   --> src/types/transaction.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn sign(self, signer: &dyn Signer) -> SignedTransaction {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct
[INFO] [stdout]    --> src/types/transaction.rs:147:1
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub struct SignedTransaction {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct field
[INFO] [stdout]    --> src/types/transaction.rs:148:5
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pub transaction: Transaction,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a struct field
[INFO] [stdout]    --> src/types/transaction.rs:149:5
[INFO] [stdout]     |
[INFO] [stdout] 149 |     pub signature: Signature,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]    --> src/types/transaction.rs:155:5
[INFO] [stdout]     |
[INFO] [stdout] 155 |     pub fn new(signature: Signature, transaction: Transaction) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]    --> src/types/transaction.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pub fn init(&mut self) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]    --> src/types/transaction.rs:165:5
[INFO] [stdout]     |
[INFO] [stdout] 165 |     pub fn get_hash(&self) -> CryptoHash {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]    --> src/types/transaction.rs:169:5
[INFO] [stdout]     |
[INFO] [stdout] 169 | /     pub fn from_actions(
[INFO] [stdout] 170 | |         nonce: Nonce,
[INFO] [stdout] 171 | |         signer_id: AccountId,
[INFO] [stdout] 172 | |         receiver_id: AccountId,
[INFO] [stdout] ...   |
[INFO] [stdout] 184 | |         }.sign(signer)
[INFO] [stdout] 185 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]    --> src/types/transaction.rs:187:5
[INFO] [stdout]     |
[INFO] [stdout] 187 | /     pub fn send_money(
[INFO] [stdout] 188 | |         nonce: Nonce,
[INFO] [stdout] 189 | |         signer_id: AccountId,
[INFO] [stdout] 190 | |         receiver_id: AccountId,
[INFO] [stdout] ...   |
[INFO] [stdout] 202 | |         )
[INFO] [stdout] 203 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]    --> src/types/transaction.rs:205:5
[INFO] [stdout]     |
[INFO] [stdout] 205 | /     pub fn stake(
[INFO] [stdout] 206 | |         nonce: Nonce,
[INFO] [stdout] 207 | |         signer_id: AccountId,
[INFO] [stdout] 208 | |         signer: &dyn Signer,
[INFO] [stdout] ...   |
[INFO] [stdout] 220 | |         )
[INFO] [stdout] 221 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]    --> src/types/transaction.rs:223:5
[INFO] [stdout]     |
[INFO] [stdout] 223 | /     pub fn create_account(
[INFO] [stdout] 224 | |         nonce: Nonce,
[INFO] [stdout] 225 | |         originator: AccountId,
[INFO] [stdout] 226 | |         new_account_id: AccountId,
[INFO] [stdout] ...   |
[INFO] [stdout] 246 | |         )
[INFO] [stdout] 247 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]    --> src/types/transaction.rs:249:5
[INFO] [stdout]     |
[INFO] [stdout] 249 |     pub fn empty(block_hash: CryptoHash) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a function
[INFO] [stdout]   --> src/types/logging.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn pretty_hash(s: &str) -> String {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a function
[INFO] [stdout]  --> src/types/serialize.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn to_base<T: AsRef<[u8]>>(input: T) -> String {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a function
[INFO] [stdout]  --> src/types/serialize.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn from_base(s: &str) -> Result<Vec<u8>, Box<dyn std::error::Error>> {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a function
[INFO] [stdout]   --> src/types/serialize.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn to_base64<T: AsRef<[u8]>>(input: T) -> String {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a trait
[INFO] [stdout]   --> src/types/serialize.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub trait BaseDecode: for<'a> TryFrom<&'a [u8], Error = Box<dyn std::error::Error>> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for an associated function
[INFO] [stdout]   --> src/types/serialize.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn from_base(s: &str) -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a type alias
[INFO] [stdout]   --> src/types/merkle.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type MerklePath = Vec<MerklePathItem>;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 72 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling near_rpc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Result as JsonResult`, `Value`, `to_value`
[INFO] [stdout]  --> examples/status.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::{to_value, Result as JsonResult, Value};
[INFO] [stdout]   |                  ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockId`, `ChunkId`, `CryptoHash`, `to_base64`
[INFO] [stdout]  --> examples/status.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use near_rpc::types::{BlockId, ChunkId, to_base64, CryptoHash};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]  --> examples/status.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borsh::BorshSerialize`
[INFO] [stdout]  --> examples/status.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use borsh::BorshSerialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> examples/query.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> examples/query.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> examples/query.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]  --> examples/query.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> examples/query.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result as JsonResult`, `Value`, `json`, `to_value`
[INFO] [stdout]  --> examples/query.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde_json::{to_value, Result as JsonResult, Value, json};
[INFO] [stdout]   |                  ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Balance`, `CryptoHash`, `RpcAutoSendConfig`, `SignedTransaction`
[INFO] [stdout]   --> examples/query.rs:13:41
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::near_rpc::types::{to_base64, CryptoHash, RpcAutoSendConfig, SignedTransaction, Balance};
[INFO] [stdout]    |                                         ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InMemorySigner`, `KeyType`
[INFO] [stdout]   --> examples/query.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | use near_crypto::{InMemorySigner, KeyType};
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> examples/chunk.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result as JsonResult`, `Value`, `to_value`
[INFO] [stdout]  --> examples/chunk.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::{to_value, Result as JsonResult, Value};
[INFO] [stdout]   |                  ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BlockIdOrFinality`
[INFO] [stdout]  --> examples/chunk.rs:7:52
[INFO] [stdout]   |
[INFO] [stdout] 7 | use near_rpc::types::{to_base64, BlockId, ChunkId, BlockIdOrFinality};
[INFO] [stdout]   |                                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> examples/http.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result as JsonResult`, `Value`, `to_value`
[INFO] [stdout]  --> examples/http.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::{to_value, Result as JsonResult, Value};
[INFO] [stdout]   |                  ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockId`, `ChunkId`
[INFO] [stdout]  --> examples/http.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use near_rpc::types::{BlockId, ChunkId};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hyper::Chunk`
[INFO] [stdout]  --> examples/http.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use hyper::Chunk;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_base` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> examples/query.rs:27:53
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let params:(String,String) =("access_key/node0".to_base(),"".to_base());
[INFO] [stdout]    |                                                     ^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_base` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> examples/query.rs:27:66
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let params:(String,String) =("access_key/node0".to_base(),"".to_base());
[INFO] [stdout]    |                                                                  ^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `KeyType`
[INFO] [stdout]   --> examples/transaction.rs:13:35
[INFO] [stdout]    |
[INFO] [stdout] 13 | use near_crypto::{InMemorySigner, KeyType};
[INFO] [stdout]    |                                   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `near_rpc`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused imports: `Result as JsonResult`, `Value`, `to_value`
[INFO] [stdout]  --> examples/status.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::{to_value, Result as JsonResult, Value};
[INFO] [stdout]   |                  ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockId`, `ChunkId`, `CryptoHash`, `to_base64`
[INFO] [stdout]  --> examples/status.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use near_rpc::types::{BlockId, ChunkId, to_base64, CryptoHash};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]  --> examples/status.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borsh::BorshSerialize`
[INFO] [stdout]  --> examples/status.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use borsh::BorshSerialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `networkInfo` found for struct `api::rpc::NearRpc<near_rpc::transports::Http>` in the current scope
[INFO] [stdout]   --> examples/http.rs:19:33
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let validators = near.rpc().networkInfo().map(|validators| {
[INFO] [stdout]    |                                 ^^^^^^^^^^^ help: there is an associated function with a similar name: `network_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> examples/block.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result as JsonResult`, `Value`, `to_value`
[INFO] [stdout]  --> examples/block.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::{to_value, Result as JsonResult, Value};
[INFO] [stdout]   |                  ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockIdOrFinality`, `BlockId`, `ChunkId`, `to_base64`
[INFO] [stdout]  --> examples/block.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use near_rpc::types::{to_base64, BlockId, ChunkId, BlockIdOrFinality};
[INFO] [stdout]   |                       ^^^^^^^^^  ^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borsh::BorshSerialize`
[INFO] [stdout]  --> examples/block.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use borsh::BorshSerialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `web3` found for struct `NearApi<Http>` in the current scope
[INFO] [stdout]   --> examples/transaction.rs:69:23
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let tx = near.web3().send_transaction(Some(tx_value)).map(|value| {
[INFO] [stdout]    |                       ^^^^ method not found in `NearApi<Http>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::types::StoreKey`
[INFO] [stdout]    --> src/types/serialize.rs:314:9
[INFO] [stdout]     |
[INFO] [stdout] 314 |     use crate::types::StoreKey;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ no `StoreKey` in `types`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::types::Bytes`, `crate::types::H256`
[INFO] [stdout]   --> src/api/rpc.rs:87:24
[INFO] [stdout]    |
[INFO] [stdout] 87 |     use crate::types::{Bytes, H256};
[INFO] [stdout]    |                        ^^^^^  ^^^^ no `H256` in `types`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        no `Bytes` in `types`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NearRpc`
[INFO] [stdout]    --> src/lib.rs:245:22
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let _rpc_1 = NearRpc::new(transport);
[INFO] [stdout]     |                      ^^^^^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/api/mod.rs:20:1
[INFO] [stdout]     |
[INFO] [stdout] 20  | pub struct NearApi<T: Transport> {
[INFO] [stdout]     | -------------------------------- similarly named struct `NearApi` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let _rpc_1 = NearApi::new(transport);
[INFO] [stdout]     |                      ^^^^^^^
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 221 |     use crate::api::rpc::NearRpc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NearRpc`
[INFO] [stdout]    --> src/lib.rs:246:22
[INFO] [stdout]     |
[INFO] [stdout] 246 |         let _rpc_2 = NearRpc::new(transport2);
[INFO] [stdout]     |                      ^^^^^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/api/mod.rs:20:1
[INFO] [stdout]     |
[INFO] [stdout] 20  | pub struct NearApi<T: Transport> {
[INFO] [stdout]     | -------------------------------- similarly named struct `NearApi` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 246 |         let _rpc_2 = NearApi::new(transport2);
[INFO] [stdout]     |                      ^^^^^^^
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 221 |     use crate::api::rpc::NearRpc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MerkleHash`
[INFO] [stdout]  --> src/types/transaction.rs:7:47
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::types::{AccountId, Balance, Nonce, MerkleHash, MerklePath, CryptoHash, hash, AccessKey, logging, Gas, AccessKeyPermission};
[INFO] [stdout]   |                                               ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockIdOrFinality`, `BlockId`, `ChunkId`, `to_base64`
[INFO] [stdout]  --> src/api/rpc.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::types::{BlockId, ChunkId, BlockIdOrFinality, to_base64};
[INFO] [stdout]   |                    ^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::api::NearApi`
[INFO] [stdout]    --> src/lib.rs:222:9
[INFO] [stdout]     |
[INFO] [stdout] 222 |     use crate::api::NearApi;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "b0f149b5f6c28f80c0c2e7267ed07dd9d1b2fcadcdda31676f08634db7b26911", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b0f149b5f6c28f80c0c2e7267ed07dd9d1b2fcadcdda31676f08634db7b26911", kill_on_drop: false }`
[INFO] [stdout] b0f149b5f6c28f80c0c2e7267ed07dd9d1b2fcadcdda31676f08634db7b26911
